package com.zhuiyi.yiqingbackend.mapper;

import com.zhuiyi.yiqingbackend.domain.Person;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PersonMapper {
    List<Person> getAllPerson();
    boolean insertPerson(Person person);
    boolean deletePerson(int id);
    boolean updatePerson(Person person);
    Person getPersonById(int id);
}
